package cn.qayy.dao;

import cn.qayy.dto.BasisDTO;
import cn.qayy.po.Basis;
import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
public interface BasisMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Object record);
 
    int insertSelective(Object record);

    Basis selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Object record);

    int updateByPrimaryKey(Object record);

    List<BasisDTO> selectBasisForDown(Map<String, Object> params) ;

    int updateByList(List<?> list);

    int insertByList(List<?> list);

    List<Map<String, Object>> selectBasisBy(Map<String, Object> params) ;

    List<? extends String> selectBasicKeys();

	List<? extends Map<String, String>> selectAllProvincesAndCityAndCountry();

	boolean updateByPCC(Map<String, Object> params);
	
	List<String> selectProvinceByMgr(String username);

	List<Basis> selectForList(Map<String, Object> params);
	
	List<Basis> selectByIds(List<String> list);

	List<Integer> selectIdsByMap(Map<String, Object> params);

	List<String> selectMgrOfProvinceByMgr(Map<String, Object> params);

	List<Basis> selectByMap(Map<String, Object> params);
	
	String selectSpaceByMgr(String params) ;

	int deleteByIdList(List list);
}